# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >

pkgname=usbmuxd
pkgver=1.1.0
pkgrel=2
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch=('i686' 'x86_64')
license=('GPL2' 'GPL3')
depends=('libimobiledevice')
makedepends=('git')
install=usbmuxd.install
source=(http://www.libimobiledevice.org/downloads/usbmuxd-$pkgver.tar.bz2)
md5sums=('34361c59320cb0b1f9ebcd2798ee1b39')

build() {
  cd usbmuxd-$pkgver
  ./configure --prefix=/usr --sbindir=/usr/bin
  make
}

package() {
  cd usbmuxd-$pkgver
  make DESTDIR="${pkgdir}" install
}
